package com.jinmdz.fmis.api.admin.model.administrativearea;

import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.common.constant.EValidateCode;
import com.jinmdz.fmis.core.base.BasePageData;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 父行政区划查询数据
 *
 * @author LiCongLu
 * @date 2020-03-15 14:16
 */
@ApiModel(value = "父行政区划查询数据", description = "父行政区划查询数据")
public class AdministrativeAreaParentIdData extends BasePageData {
    /**
     * 父区划区划主键
     */
    @AnValidate(name = "父区划区划主键", required = true, code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "父区划区划主键", name = "id", position = 1)
    private Integer id;

    public Integer getId() {
        return id;
    }

    public AdministrativeAreaParentIdData setId(Integer id) {
        this.id = id;
        return this;
    }
}
